Joel Becker [Mon, 26 Oct 1998 00:29:12 +0000 (00:29 +0000)]
fixed extraneous "," on line 390
Tim Janik [Sun, 25 Oct 1998 19:30:02 +0000 (19:30 +0000)]
support an environment variable GTK_MODULES= which takes a colon sperated
Sun Oct 25 20:27:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_init): support an environment variable
GTK_MODULES= which takes a colon sperated list of module names
automatically loaded at gtk_init() startup.
Tim Janik [Sun, 25 Oct 1998 10:00:19 +0000 (10:00 +0000)]
added more g_return_if_fail() statements.
Sun Oct 25 08:04:33 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c: added more g_return_if_fail() statements.
Lars Hamann [Thu, 22 Oct 1998 21:00:01 +0000 (21:00 +0000)]
removed. gtk_clist_destroy is sufficient
Thu Oct 22 22:40:35 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
is sufficient
Lars Hamann [Thu, 22 Oct 1998 14:54:28 +0000 (14:54 +0000)]
samll fix for invisible columns
Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
columns
Tim Janik [Thu, 22 Oct 1998 00:54:57 +0000 (00:54 +0000)]
GtkType and macro fixups set a pattern for the file selection widget to
Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
* gtk/gtkfilesel.h: GtkType and macro fixups
* gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
for the file selection widget to try a completion on (set the
initial filter).
Wed Oct 14 14:34:04 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c: implement idle functions via GHook. this gives a
slight speed improvement and lessens code duplication.
Arturo Espinosa [Wed, 21 Oct 1998 16:22:28 +0000 (16:22 +0000)]
One-character fix to make it compile - Federico
Owen Taylor [Tue, 20 Oct 1998 18:43:54 +0000 (18:43 +0000)]
Always send "drag_leave" to dests without GTK_DEST_DEFAULT_MOTION.
Tue Oct 20 14:53:28 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c: Always send "drag_leave" to dests
without GTK_DEST_DEFAULT_MOTION.
Tue Oct 20 11:55:24 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
on destroyed windows so we clear the XID table properly.
Finish up restructure of return value handling that
was half-done before.
Tue Oct 20 12:57:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
the window tree more comprehensively, so that we find
client windows hidden under non-toplevels.
Tue Oct 20 12:43:04 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_set):
Maintain the null-termintation guarantee, even when
data = NULL, length = 0. (Warn on data = NULL,
length > 0)
Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
into function prototype for drag_data_received.
Paolo Molaro [Tue, 20 Oct 1998 16:22:48 +0000 (16:22 +0000)]
file testps.c was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:46 +0000 (16:22 +0000)]
file region.h was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:44 +0000 (16:22 +0000)]
file poly.h was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:40 +0000 (16:22 +0000)]
file gdkps.h was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:39 +0000 (16:22 +0000)]
file gdkps.c was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:35 +0000 (16:22 +0000)]
file gdkdrawable.c was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:32 +0000 (16:22 +0000)]
file Region.c was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 16:22:31 +0000 (16:22 +0000)]
file PolyReg.c was initially added on branch ps-mf.
Paolo Molaro [Tue, 20 Oct 1998 09:54:57 +0000 (09:54 +0000)]
Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
Lars Hamann [Mon, 19 Oct 1998 22:46:38 +0000 (22:46 +0000)]
rearranged some functions (gtk_clist_set_column_auto_resize): new
Mon Oct 19 23:44:41 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c: rearranged some functions
(gtk_clist_set_column_auto_resize): new function. toggle auto_resize
flag of column
(gtk_clist_set_column_resizeable): if resizeable disable auto_resize
(gtk_clist_set_border): deprecated function, use
gtk_clist_set_shadow_type instead.
(gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
(adjust_scrollbars): some cleanups
(select_row) (unselect_row): removed. replaced by equivalent
gtk_signal_emit calls
(add_style_data): removed, use gtk_clist_style_set instead
(gtk_clist_style_set): fill in size data, after style was set.
(set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
(gtk_clist_set_cell_style): auto_resize columns if needed
(column_auto_resize): resize column if needed for auto_resize
(real_clear): disable auto_resize while list destroy
(resize_column): removed
* gtk/gtkctree.c : (gtk_ctree_remove_node)
(gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
(gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
(set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
(real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
(real_tree_collapse) (real_tree_expand) (column_auto_resize):
auto_resize columns if needed
(gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
(real_clear): disable auto_resize while processing the tree
* gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
for one column
Owen Taylor [Mon, 19 Oct 1998 14:15:27 +0000 (14:15 +0000)]
Fixed typo - look for right atom on transfer failures.
Mon Oct 19 08:31:36 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
typo - look for right atom on transfer failures.
Christopher Blizzard [Mon, 19 Oct 1998 01:46:49 +0000 (01:46 +0000)]
add testdnd to .cvsignore
Owen Taylor [Mon, 19 Oct 1998 00:51:21 +0000 (00:51 +0000)]
Change signal for drag_data_get to match the use that was being made of it
Sun Oct 18 20:52:22 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkwidget.c gtkmarshal.list: Change signal
for drag_data_get to match the use that was being
made of it everywhere else...
Owen Taylor [Sun, 18 Oct 1998 23:28:36 +0000 (23:28 +0000)]
New test program for new DND. (Old DND tests in testgtk still need to be
* gtk/testdnd.c: New test program for new DND. (Old
DND tests in testgtk still need to be converted.)
Owen Taylor [Sun, 18 Oct 1998 22:52:25 +0000 (22:52 +0000)]
Missed two files.
Owen Taylor [Sun, 18 Oct 1998 22:51:24 +0000 (22:51 +0000)]
Added a modular client-message-filter mechanism, that is used for the DND
Sun Oct 18 18:16:39 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
mechanism, that is used for the DND messages.
Removed all the old DND code.
* gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
get the visual of a given colormap.
* gtk/gtkcolorsel.c: Conversion to new DND, drag
a color-swatch.
* gdk/gdk.h gdk/gdkdnd.c: The low-level
X oriented portions of drag and drop protocols.
Sending and receiving client messages, and navigating
window trees.
* gdk/gdkimage.c: added a gdk_flush() when destroying
SHM images to hopefully make it more likely that
X will gracefully handle the segment being destroyed.
* gdk/gdkprivate.h gtk/gtkdebug.h: Add new
DND debugging flags.
* gtk/gtkeditable.[ch]: Updates for the selection handling
changes.
* gtk/gtkselection.[ch]: Added GtkTargetList, a
refcounted data structure for keeping track of lists
of GdkAtom + information. Removed selection_handler_add
in favor of a "drag_data_get" signal.
* gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
dependent) parts of the DND protocols, display of drag icons,
drag-under highlighting, and the "default handlers".
* gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
windows that are used for reliable pointer grabs and
selection handling in the DND code.
* gtk/testdnd.c: New test program for new DND. (Old
DND tests in testgtk still need to be converted.)
* gtk/testselection.c: Use the new selection API.
* docs/dnd_internals: Start at describing how
all the new code works inside.
* docs/Changes-1.2.txt: New file describing source-incompatible
changes in GTK+-1.2.
Sat Oct 17 22:50:34 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_remove_filter): Free
the right list node.
* gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
to the XID table so we can receive events on it.
Wed Oct 14 12:57:40 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
to get the timestamp from a generic event.
Fri Oct 9 13:16:04 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_add_events): Added function
that safely adds additional events to a widget's event
mask, even if the widget has previously been realized.
(We can do this, but not remove events from the event
mask).
Fri Oct 2 17:35:35 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
for AnyPropertyType.
Fri Oct 2 10:32:21 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkproperty.c (gdk_atom_intern): Add client-local
hashing.
Thu Sep 24 20:33:54 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
isn't a timestamp.
Thu Sep 17 14:23:03 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_event_translate): Removed printing
of unknown window lookup warnings. (Made it
a GDK_NOTE) - they happen in many circumstances.
Martin Baulig [Sun, 18 Oct 1998 13:10:08 +0000 (13:10 +0000)]
new function to toggle line wrapping like gtk_text_set_word_wrap ()
1998-10-18 Martin Baulig <martin@home-of-linux.org>
* gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
Lars Hamann [Fri, 16 Oct 1998 15:00:05 +0000 (15:00 +0000)]
change a few cell styles of inserted row (change_style): change style of
Fri Oct 16 15:59:02 1998 Lars Hamann <lars@gtk.org>
* gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
styles of inserted row
(change_style): change style of focus_row
* gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
(gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
to set/get row/cell styles.
(gtk_clist_realize): attach row and cell style, allocate row colors.
(gtk_clist_unrealize): detach row and cell styles.
(get_cell_style): new function. get correct cell style.
(draw_cell_pixmap): new function.
(draw_row): draw cells with row or cell styles.
(row_new): set cell and row styles to NULL.
(row_delete): detach & unref cell and row styles.
* gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles):
new functions to attach/detach styles and allocate colors.
(gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
styles of invisible nodes.
(draw_cell_pixmap): new function.
(get_cell_style): new function. get correct cell style.
(gtk_ctree_draw_expander): new function. draw tree expander.
(gtk_ctree_draw_lines): new function.draw tree lines.
(draw_row): draw cells with row or cell styles.
(row_new): set cell and row styles to NULL.
(row_delete): detach & unref cell and row styles.
(gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style)
(gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style):
Analogons of GtkCList functions
(gtk_ctree_set_spacing): new function. set spacing between
tree expander and cell contents
(gtk_ctree_set_expander_style): new function. set expander style
of ctree.
(ctree_is_hot_spot): few changes due to draw_row modifications.
Paolo Molaro [Wed, 14 Oct 1998 09:07:18 +0000 (09:07 +0000)]
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkcombo.c: try completion on MOD1-TAB.
Handle case when the combo->list is empty.
Tim Janik [Mon, 12 Oct 1998 11:24:29 +0000 (11:24 +0000)]
fixed a comment
Tim Janik [Mon, 12 Oct 1998 06:01:09 +0000 (06:01 +0000)]
only unref those handlers that have not yet been disconnected (finally
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
handlers that have not yet been disconnected (finally managed to
trigger the gtk_signal_handler_unref() paranoid warning).
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
width and height which is -1 and not -2.
Manish Singh [Sat, 10 Oct 1998 07:51:50 +0000 (07:51 +0000)]
HACKING we need libtool 1.2b now
* HACKING
* autogen.sh: we need libtool 1.2b now
-Yosh
Tim Janik [Sat, 10 Oct 1998 01:55:09 +0000 (01:55 +0000)]
take the left, right, top and bottom attach arguments as mandatory and
Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
and bottom attach arguments as mandatory and readjust the table size
and opposing edge accordingly if required. this way the order in which
the arguments are set doesn't matter.
Owen Taylor [Thu, 8 Oct 1998 19:43:47 +0000 (19:43 +0000)]
Fixed warning message to print out parent class name correctly.
Thu Oct 8 15:53:59 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
message to print out parent class name correctly.
Tim Janik [Thu, 8 Oct 1998 06:33:49 +0000 (06:33 +0000)]
removed functions gtk_object_set_data_destroy and
Thu Oct 8 07:07:10 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.h:
* gtk/gtkobject.c:
removed functions gtk_object_set_data_destroy and
gtk_object_set_data_destroy_by_id.
added functions gtk_object_remove_no_notify and
gtk_object_remove_no_notify_by_id which will remove a certain data
portion without invokation of its destroy notifier, this should only
be used in very controled circumstances.
Lars Hamann [Wed, 7 Oct 1998 22:13:19 +0000 (22:13 +0000)]
added size_allocate_title_buttons call (gtk_clist_realize): changed
Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
size_allocate_title_buttons call
(gtk_clist_realize): changed initial column.window position
Lars Hamann [Wed, 7 Oct 1998 19:28:25 +0000 (19:28 +0000)]
removed xor_gc, use clists xor_gc instead removed
Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
xor_gc instead
* gtk/gtkctree.c (create_xor_gc): removed
(gtk_ctree_button_press): set correct line_attributes for
clist->xor_gc on drag start
(gtk_ctree_button_release): reset clist->xor_gc
Tim Janik [Wed, 7 Oct 1998 04:21:19 +0000 (04:21 +0000)]
removed all occourances of #pragma } and #pragma { which were in place to
Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org>
* gtk/gtk*.h:
* gdk/gdk.h: removed all occourances of #pragma } and #pragma {
which were in place to fixup emacs' cc-mode indentation.
putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
proper way to achive this and doesn't produce problems for
stupid pragma-related compiler bugs. ;)
Lars Hamann [Wed, 7 Oct 1998 00:03:24 +0000 (00:03 +0000)]
new signal GtkCList::resize_column. don't draw invisible columns
Wed Oct 7 00:59:46 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.h: new signal GtkCList::resize_column.
* gtk/gtkclist.c (draw_row): don't draw invisible columns
(size_allocate_title_buttons) (size_allocate_columns):
skip invisible columns
(new_column_width): take min/max_width into account
(gtk_clist_button_release) (gtk_clist_motion):
changes due to changed new_column_width function
(LIST_WIDTH): changed define to inline function.
(real_resize_column): class function for resize_column signal
(gtk_clist_motion): fixed autoscrolling for column resizes
(gtk_clist_set_column_visibility): don't hide last visible column,
changed visible arg to gboolean
(gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
new functions : set min/max width of a column
(gtk_clist_set_column_resizeable): new function : enable/disable
column resize operations by mouse
* gtk/gtkctree.c (draw_row): don't draw invisible columns
(ctree_is_hot_spot): return FALSE if tree_column is invisible
(draw_xor_line) (draw_xor_rect): draw full rectangle/line if
tree_column is invisible
(gtk_ctree_find_all_by_row_data)
(gtk_ctree_find_all_by_row_data_custom): new function from
Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
GtkCTreeNodes with row->data == data.
Tim Janik [Tue, 6 Oct 1998 12:36:17 +0000 (12:36 +0000)]
use g_free to free g_malloced memory (Martin Pool
Tue Oct 6 14:05:00 1998 Tim Janik <timj@gtk.org>
* gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
memory (Martin Pool <mbp@wistful.humbug.org.au>).
Raph Levien [Mon, 5 Oct 1998 22:30:08 +0000 (22:30 +0000)]
Fixed an alpha bug.
CDT 1998 Shawn T. Amundson [Mon, 5 Oct 1998 03:52:48 +0000 (03:52 +0000)]
gtk/gtkcalendar.c: More changes: - The day with focus is now seperated
Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkcalendar.h:
gtk/gtkcalendar.c: More changes:
- The day with focus is now seperated from the day selected
- The day with focus has the xor's line around it
- The selected day is now standard selected style
- The week names and week numbers are now also drawn
with selected style
- Space now selects the day which has focus
Joel Becker [Mon, 5 Oct 1998 03:50:46 +0000 (03:50 +0000)]
added xlc to the list of compilers that call automake with --include-deps
CDT 1998 Shawn T. Amundson [Sun, 4 Oct 1998 23:07:04 +0000 (23:07 +0000)]
gtk/gtkcalendar.c: Some significant changes, including: - No longer draw
Sun Oct 4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkcalendar.h:
gtk/gtkcalendar.c: Some significant changes, including:
- No longer draw focus around entire widget, only around
the day which has focus
- Draw relief around entire widget like originally planned
- Show header and day names by default
- Move data private to the widget out of GtkCalendar struct
and only point to it with a gpointer
- Remove some old unused variables from GtkCalendar struct
BST 1998 Tony Gale [Sun, 4 Oct 1998 16:55:16 +0000 (16:55 +0000)]
update I've had sat around: - Grammar patch from James R. Van Zandt
Sun Oct 4 17:45:43 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: update I've had sat around:
- Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
- Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
- New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
Martin Baulig [Sun, 4 Oct 1998 10:52:52 +0000 (10:52 +0000)]
Added `visible'.
1998-10-01 Martin Baulig <martin@home-of-linux.org>
* gtk/gtkclist.h (GtkCListColumn): Added `visible'.
* gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
Makes it possible to individually show and hide columns.
(size_allocate_columns): Adapted to keep track of hidden columns.
(size_allocate_title_buttons): Likewise.
Tim Janik [Sat, 3 Oct 1998 17:04:41 +0000 (17:04 +0000)]
for unknown foreign fundamental types, collect an argument of the type
Sat Oct 3 17:54:48 1998 Tim Janik <timj@gtk.org>
* gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
fundamental types, collect an argument of the type returned from
gtk_type_get_varargs_type(). removed the first macro argument which
was just the same as the fundamental type of the *arg passed to
the macro.
* gtk/gtkarg.c (gtk_args_collect):
* gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
gtk_type_get_varargs_type() to set and query the varargs collect
type used for a fundamental type, registered outside of Gtk.
* gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
GTK_TYPE_FLOAT.
* gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
to GTK_TYPE_FLOAT.
Lars Hamann [Fri, 2 Oct 1998 23:45:09 +0000 (23:45 +0000)]
fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
Sat Oct 3 01:25:24 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
(gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand):
fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
(real_tree_expand) (real_tree_collapse):
don't expand/collapse a leaf
Tim Janik [Fri, 2 Oct 1998 21:14:26 +0000 (21:14 +0000)]
make sure we don't segfault when looking up a non-existant value name
Fri Oct 2 16:10:36 1998 Tim Janik <timj@gtk.org>
* gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
segfault when looking up a non-existant value name (reported by
Pablo <pcj+gtk@primenet.com>).
Tim Janik [Thu, 1 Oct 1998 13:24:42 +0000 (13:24 +0000)]
new function. (gtk_clist_insert): added g_return_val_if_fail() statements.
Thu Oct 1 10:40:20 1998 Tim Janik <timj@gtk.org>
* gtk/gtkclist.h (gtk_clist_prepend):
* gtk/gtkclist.c (gtk_clist_prepend): new function.
(gtk_clist_insert): added g_return_val_if_fail()
statements. accept a row parameter < 0 or > clist->rows to indicate
append mode.
(real_clear): first clean up all internal pointers and lists (e.g.
clist->row_list or clist->rows), then delete the distinct rows. this
is required because of destroy notifiers, we need to have all internal
structures updated and be reentrant.
* gtk/gtkcalendar.h:
* gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
GtkCalendarClass signal methods.
GtkType and macro fixups, put `void' into () prototypes, avoid C++
style comments, indentation fixes, fixed some g_return_if_fail()
statements.
(gtk_calendar_paint_header):
(gtk_calendar_paint_day_names):
(gtk_calendar_paint_week_numbers):
(gtk_calendar_paint_main): made these static functions.
(gtk_calendar_select_month):
(gtk_calendar_select_day):
(gtk_calendar_mark_day):
(gtk_calendar_unmark_day):
(gtk_calendar_get_date): signedness corrections, use guints
rather than gints.
(gtk_calendar_size_request): removed unused variables.
Tim Janik [Wed, 30 Sep 1998 11:22:13 +0000 (11:22 +0000)]
list all widgets in the ->widgets_by_action list that have a callback
Wed Sep 30 13:11:09 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
widgets in the ->widgets_by_action list that have a callback
defined (not only those with a callback_action!=0).
CDT 1998 Shawn T. Amundson [Mon, 28 Sep 1998 03:20:03 +0000 (03:20 +0000)]
gtk/gtkcalendar.c: examples/calendar/gcalendar.c: remove HAVE_FEATURES
Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkcalendar.h:
gtk/gtkcalendar.c:
examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
CDT 1998 Shawn T. Amundson [Sun, 27 Sep 1998 18:32:00 +0000 (18:32 +0000)]
gtk/gtkcalendar.c: examples/calendar: Added gtkcalendar widget and demo
Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkcalendar.h:
gtk/gtkcalendar.c:
examples/calendar: Added gtkcalendar widget and demo
Tim Janik [Sat, 26 Sep 1998 06:31:30 +0000 (06:31 +0000)]
adde g_return_if_fail() statements.
Sat Sep 26 06:15:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtkclist.c (gtk_clist_sort):
(gtk_clist_clear):
(gtk_clist_unselect_all):
(gtk_clist_select_all): adde g_return_if_fail() statements.
Tim Janik [Sat, 26 Sep 1998 03:12:03 +0000 (03:12 +0000)]
set binary age and interface age to 0.
Sat Sep 26 04:46:22 1998 Tim Janik <timj@gtk.org>
* configure.in: set binary age and interface age to 0.
* gtk/gtkspinbutton.h:
* gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
gtk_spin_button_configure. gtk_spin_button_construct is still defined
as an alias for gtk_spin_button_configure for source compatibility,
but actuall use is deprecated.
typeness corrections, i.e. gint->gboolean and gint->guint.
added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
GtkSpinButton::adjustment, GtkSpinButton::digits and
GtkSpinButton::climb_rate.
GtkType and macro fixups.
Tim Janik [Fri, 25 Sep 1998 23:04:32 +0000 (23:04 +0000)]
new function to get the *real* geometry position of a window, taken
Sat Sep 25 23:33:55 1998 Tim Janik <timj@gtk.org>
* gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
the *real* geometry position of a window, taken possible window
manager offsets into account.
this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
it does fail though for amiwm which adds windows to a pseudo root
window, and for icewm by a small offset because it defines the
geometry position whithin its border.
* gtk/testgtk.c: added "saved position" test to figure how
gdk_window_get_root_origin() interacts with window managers (repopup
this window to figure ;).
Tim Janik [Wed, 23 Sep 1998 04:47:45 +0000 (04:47 +0000)]
update to Gtk+ version 1.1.3, binary age 1, interface age 1.
Wed Sep 23 06:09:19 1998 Tim Janik <timj@gtk.org>
* configure.in: update to Gtk+ version 1.1.3, binary age 1,
interface age 1.
* gtk/gtkobject.c
(gtk_object_ref):
(gtk_object_unref): check for ->ref_count to be greater than 0 (the
existing code was buggy in letting ->ref_count==0 pass through and
then failing the living_objs_ht assertion).
* gtk/gtkclist.c (draw_row): fix chopping bug for right justified
pixtext fields (Roman Pozlevich <roma@botik.ru>).
CDT 1998 Shawn T. Amundson [Tue, 22 Sep 1998 05:13:22 +0000 (05:13 +0000)]
Released GTK+ 1.1.2
Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.2
Manish Singh [Mon, 21 Sep 1998 08:28:53 +0000 (08:28 +0000)]
Shut up gcc AND cvs
-Yosh
jaycox [Mon, 21 Sep 1998 08:14:10 +0000 (08:14 +0000)]
use $(PERL) instead of perl render properly in non-square aspect ratios.
* gtk/Makefile.am: use $(PERL) instead of perl
* gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
also much faster to render.
Manish Singh [Mon, 21 Sep 1998 06:28:24 +0000 (06:28 +0000)]
This shouldn't be there
-Yosh
Tim Janik [Mon, 21 Sep 1998 06:14:18 +0000 (06:14 +0000)]
reallocate the required memory block, rather than allocating it newly from
Mon Sep 21 07:44:30 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
the required memory block, rather than allocating it newly from
scratch and doing a full-blown block copy on it.
Manish Singh [Mon, 21 Sep 1998 02:54:58 +0000 (02:54 +0000)]
shut up CVS
-Yosh
Tim Janik [Mon, 21 Sep 1998 02:34:44 +0000 (02:34 +0000)]
more NEWS updates
Tim Janik [Mon, 21 Sep 1998 02:31:39 +0000 (02:31 +0000)]
NEWS file update for upcoming release of Gtk+ version 1.1.2, binary age 0,
Mon Sep 21 02:30:06 1998 Tim Janik <timj@gtk.org>
* NEWS file update for upcoming release of Gtk+ version 1.1.2,
binary age 0, interface age 0.
* gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
Owen Taylor [Sun, 20 Sep 1998 22:14:58 +0000 (22:14 +0000)]
Patch to libtool-1.2b to make --disable-static
Sun Sep 20 18:21:46 1998 Owen Taylor <otaylor@redhat.com>
* ltconfig.sh: Patch to libtool-1.2b to make --disable-static
Marius Vollmer [Sun, 20 Sep 1998 18:10:03 +0000 (18:10 +0000)]
More stuff about the type system.
Owen Taylor [Sun, 20 Sep 1998 14:58:08 +0000 (14:58 +0000)]
indent other than GNU indent should be OK now.
Sun Sep 20 09:52:39 1998 Owen Taylor <otaylor@gtk.org>
* HACKING: indent other than GNU indent should be OK
now.
* gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
instead of piping through indent. If indent wasn't
found in ./configure don't bother indenting at
all.
Owen Taylor [Sun, 20 Sep 1998 14:54:19 +0000 (14:54 +0000)]
file libtool-1.2.patch was initially added on branch gtk-1-0.
Owen Taylor [Sun, 20 Sep 1998 13:35:24 +0000 (13:35 +0000)]
Add names to prototype for gdk_image_new_bitmap.
Fri Sep 18 19:11:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
Raja R Harinath [Sun, 20 Sep 1998 02:35:59 +0000 (02:35 +0000)]
Forgot to commit this
jaycox [Sat, 19 Sep 1998 01:54:04 +0000 (01:54 +0000)]
gtk/Makefile.am: use $(AWK) instead of awk
gtk/Makefile.am: use $(AWK) instead of awk
Raja R Harinath [Fri, 18 Sep 1998 20:20:23 +0000 (20:20 +0000)]
Remove references to $(top_srcdir). (gtk.defs,
* gtk/Makefile.am (gdk_headers):
Remove references to $(top_srcdir).
(gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
* gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
Tim Janik [Fri, 18 Sep 1998 18:19:00 +0000 (18:19 +0000)]
changed gpointer object_data; to GData*object_data to cure compiler
Fri Sep 18 19:58:24 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
GData*object_data to cure compiler warnings.
Manish Singh [Fri, 18 Sep 1998 02:07:42 +0000 (02:07 +0000)]
updated to latest automake version
-Yosh
Manish Singh [Thu, 17 Sep 1998 22:59:18 +0000 (22:59 +0000)]
shutup CVS further
-Yosh
Raja R Harinath [Thu, 17 Sep 1998 18:16:10 +0000 (18:16 +0000)]
Move `gtkfeature.h' ... (gtkinclude_HEADERS): ... here. (gtk.defs): Pass
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
(gtkinclude_HEADERS): ... here.
(gtk.defs): Pass `g' flag to sed, to replace all occurances.
Raph Levien [Thu, 17 Sep 1998 17:52:00 +0000 (17:52 +0000)]
Added GNU indent to HACKING, as it is now required to build.
Owen Taylor [Thu, 17 Sep 1998 15:40:22 +0000 (15:40 +0000)]
Update to libtool-1.2b, change library versioning scheme to drop
Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am gtk-config.in l*: Update to libtool-1.2b,
change library versioning scheme to drop LT_RELEASE
from the -l line, while keeping it in the soname.
Tue Sep 15 14:10:33 1998 Owen Taylor <otaylor@redhat.com>
* configure.in Makefile.in: define a MAINT-like variable REBUILD
which is set if Perl and awk are found, and autogenerated sources
can be rebuilt. Remove the auto-generated sources from
CVS.
Add dependencies so that the autogenerated sources are
rebuilt if the files they depend on change.
(This unfortunately currently results in the entire
gtk/ directory being rebuilt when any header changes.
Moving all enums to gtkenums.h would fix this.)
Tim Janik [Thu, 17 Sep 1998 05:00:30 +0000 (05:00 +0000)]
added gtk_object_set_data_destroy and gtk_object_set_data_destroy_by_id
Thu Sep 17 05:12:48 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.h: added gtk_object_set_data_destroy and
gtk_object_set_data_destroy_by_id functions to set the destroy
function pointer for an existing data portion.
* gtk/gtkobject.c: removed the GtkObjectData implementation and
made all gtk_object_*data* functions use the GLib equivalents.
Arturo Espinosa [Wed, 16 Sep 1998 23:34:03 +0000 (23:34 +0000)]
sync
Federico Mena Quintero [Wed, 16 Sep 1998 23:33:25 +0000 (23:33 +0000)]
Test whether type is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before
1998-09-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
(widget != NULL), otherwise radio button insertion will not work
-- the widget argument is NULL for the first radio button in the
group.
Owen Taylor [Tue, 15 Sep 1998 17:08:38 +0000 (17:08 +0000)]
Reverted global changes of g_new to malloc(), added back in the one place
Tue Sep 15 13:09:24 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkimage.c (gdk_image_new): Reverted global changes
of g_new to malloc(), added back in the one place where
it actually mattered. #include <stdlib.h>.
* gdk/gdkrgb.c: g_malloc() to malloc() as above.
Owen Taylor [Tue, 15 Sep 1998 14:59:48 +0000 (14:59 +0000)]
Don't request a new size from the WM if we asked for the same size before
Tue Sep 15 11:06:13 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_move_resize): Don't request
a new size from the WM if we asked for the same size
before and our request was rejected.
* gtk/gtkwindow.c (gtk_window_configure_event): If
in response to a request, we get a configure event
with unchanged dimensions, send a synthetic expose
since ForgetGravity won't expose our window.
Mon Sep 14 14:28:24 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (adjust_adj): Change the way we
set the adjustments on resize so that it tries to
keep the beginning of the text in approximately
the same place.
Removed assertion that the above change made invalid.
CDT 1998 Shawn T. Amundson [Tue, 15 Sep 1998 03:12:54 +0000 (03:12 +0000)]
changed g_new()s to malloc()s and g_free()s to free()s to avoid mixing
Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkimage.c: changed g_new()s to malloc()s and
g_free()s to free()s to avoid mixing g_new()s with
free()s. X itself uses free() on some of the
malloced memory.
Owen Taylor [Sat, 12 Sep 1998 14:41:04 +0000 (14:41 +0000)]
at Sep 12 10:44:06 1998 Owen Taylor <otaylor@redhat.com>
* gtkfilesel.c: Maintain a list of directories like
/afs we know contain only directories, and avoid
stat'ing files in those directories. (Because
stat'ing all files in /afs is extremely expensive)
To support automounters, try to open directories,
even if we couldn't find them when reading their
parent directory.
Lars Hamann [Fri, 11 Sep 1998 13:52:42 +0000 (13:52 +0000)]
new function to set/unset the selectable flag of a single row.
* gtk/gtkclist.c (gtk_clist_set_selectable): new function
to set/unset the selectable flag of a single row.
(gtk_clist_get_selectable): new function
to get the state of the selectable flag
* gtk/gtkctree.c (gtk_ctree_node_set_selectable)
(gtk_ctree_node_get_selectable): clist analogons
Raph Levien [Fri, 11 Sep 1998 00:11:05 +0000 (00:11 +0000)]
Checking in minor changes. Now synced with 0.9.0.
Manish Singh [Wed, 9 Sep 1998 09:51:44 +0000 (09:51 +0000)]
added -posix check for NeXTStep
* configure.in: added -posix check for NeXTStep
* gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
a unique buffer for each thread.
* docs/gtk-config.1: clarified copyright
-Yosh
Tim Janik [Tue, 8 Sep 1998 09:24:22 +0000 (09:24 +0000)]
minor fixup
Tim Janik [Tue, 8 Sep 1998 04:08:17 +0000 (04:08 +0000)]
use g_atexit() instead of ATEXIT.
Tue Sep 8 05:19:51 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
* gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
* gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
ATEXIT.
* ltconfig: use GLib's ltconfig which honours lcc.
Manish Singh [Tue, 8 Sep 1998 03:09:54 +0000 (03:09 +0000)]
comment the -std1 check and save LIBS properly
-Yosh
Manish Singh [Mon, 7 Sep 1998 02:16:41 +0000 (02:16 +0000)]
cosmetic case change
-Yosh
Manish Singh [Sun, 6 Sep 1998 19:36:56 +0000 (19:36 +0000)]
#include <stdlib.h> for rand()
-Yosh
Owen Taylor [Sat, 5 Sep 1998 21:22:51 +0000 (21:22 +0000)]
When the pointer is grabbed on an input window, either explicitely, or
Sat Sep 5 16:01:19 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
When the pointer is grabbed on an input window,
either explicitely, or through press-grab, and
then grabbed on a non-input window, ungrab the
devices.
Tim Janik [Sat, 5 Sep 1998 06:54:20 +0000 (06:54 +0000)]
don't include any gdk headers. added structure definitions for
Sat Sep 5 07:13:19 1998 Tim Janik <timj@gtk.org>
* gtk/gtktypeutils.h: don't include any gdk headers.
added structure definitions for GtkTypeObject and GtkTypeClass,
which cover the very basic fields of GtkObject and GtkObjectClass,
which are actually used by the type system.
* gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
we only refer to our own structures. improved class inheritance
sanity checking a bit.
* gtk/gtkobject.h: placed appropriate comments at the beginnings
of the GtkObject and GtkObjectClass structures, which explain
their relationship to GtkTypeObject and GtkTypeClass.
* gtk/gtktypeutils.h:
* gtk/gtkobject.h:
moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
gtkobject.h to gtktypeutils.h.
* gtk/gtkobject.h:
* gtk/gtkobject.c:
removed gtk_object_check_cast() and gtk_object_check_class_cast()
functions. to keep source compatibility, we can provide macro aliases
for the corresponding gtk_type_* functions. but then again, people
shouldn't have been using these functions anyways since they were part
of Gtk's internal API.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c:
implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
functions to check GtkTypeObject and GtkTypeClass types.
Tim Janik [Thu, 3 Sep 1998 07:28:37 +0000 (07:28 +0000)]
`const' fixups.
Thu Sep 3 07:16:54 1998 Tim Janik <timj@gtk.org>
* gtk/gtkctree.h:
* gtk/gtkctree.c: `const' fixups.
* gtk/gtkclist.h:
* gtk/gtkclist.c: `const' fixups and some coding style adaptions.
* gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
if it is passed as NULL.
Raph Levien [Thu, 3 Sep 1998 05:47:08 +0000 (05:47 +0000)]
Fixed up some of the bigendian 32bpp modes.
Tim Janik [Thu, 3 Sep 1998 02:48:52 +0000 (02:48 +0000)]
plug another small GtkSIgnalQuery leak.
Thu Sep 3 04:45:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
GtkSIgnalQuery leak.
Tim Janik [Thu, 3 Sep 1998 02:38:53 +0000 (02:38 +0000)]
GTK_MENU_DIR_CHILD: check for the existance of
Thu Sep 3 04:22:20 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
GTK_MENU_DIR_CHILD: check for the existance of
menu_shell->active_menu_item before accessing its child.
GTK_MENU_DIR_PREV:
GTK_MENU_DIR_NEXT: if we haven't had an active item and still
don't, make a default selection.
Wed Sep 2 00:28:58 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
the children with _forall for sensitivity changes and with
_foreach on pure state changes. this fixes a lot of the
old inclusions of internal widgets into _foreach calls.
* gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
do the work. don't walk the subtrees of first level children.
* gtk/gtktreeitem.c: provide a _forall implementation,
which walks the subtrees as well for include_internals.
* gtk/gtkmenuitem.c: provide a _forall implementation, which walks
the submenus as well for include_internals.
* gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
implemented gtk_scrolled_window_forall, which will iterate over
the viewport and the scrollbars for gtk_container_forall or
iterate over the viewports children for gtk_container_foreach.
* gtk/gtktoolbar.c:
* gtk/gtktable.c:
* gtk/gtkpaned.c:
* gtk/gtkpacker.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkfixed.c:
* gtk/gtkclist.c:
* gtk/gtkbox.c:
* gtk/gtkbin.c:
* gtk/gtknotebook.c:
removed the old gtk_*_foreach functions and provided gtk_*_forall.
* gtk/gtknotebook.c:
(gtk_notebook_real_switch_page): expose tabs.
(gtk_notebook_page_num): new function to return the page number
of a distinct child.
(gtk_notebook_focus): minor fixups. foxus handling is still screwed
under some circumstances.
* gtk/gtktreeitem.c:
(gtk_real_tree_item_select):
(gtk_real_tree_item_deselect): major fixes.
some general fixups wrt queue_redraw, and tree items not being
NO_WINDOW widgets.
* gtk/gtklistitem.c:
(gtk_real_list_item_select):
(gtk_real_list_item_deselect):
(gtk_real_list_item_toggle):
removed unneccessary queue_redraw calls.
Wed Aug 30 09:42:07 1998 Tim Janik <timj@gtk.org>
* gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
automatically popup the menu on space bar.
Wed Aug 26 06:40:34 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcontainer.h:
* gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
method), which acts similar to gtk_container_foreach(), but iterates
over internal children. the GtkContainer::foreach signal vanished in
favour of a new class method ->forall() that optionally includes
internal widgets.
* gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
but a _forall implementation, since all child widgets we have are
internal ones.
(column_button_create): set the parent window prior
to gtk_widget_set_parent().
* gtk/gtkwidget.c:
exchanged all calls to gtk_container_foreach() with
gtk_container_forall().
* gtk/gtkwidget.h:
* gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
the GtkWidget::composite_child argument. to have a widget created
with the flag initially, two new functions got added to wrap a widgets
creation:
gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
Wed Aug 25 23:37:39 1998 Tim Janik <timj@gtk.org>
* gtk/gtktooltips.h:
* gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
prior to the first tip being set.
don't put an extra reference on the window, since it is a toplevel,
it wont get destroyed from anywhere else.
* overall macro and GtkType fixups.
Federico Mena Quintero [Wed, 2 Sep 1998 21:46:49 +0000 (21:46 +0000)]
Replaced "foo == TRUE" and "foo == FALSE" constructs by more forgiving
1998-09-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
constructs by more forgiving ones. (Does anyone else feel like
the color selector need rewriting?).
Owen Taylor [Tue, 1 Sep 1998 18:41:26 +0000 (18:41 +0000)]
Unref the adjustment.
Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkprogress.c (gtk_progress_finalize): Unref
the adjustment.
* gtk/gtkmenu.c: Modified reference counting so
that the reference count from the toplevel that
the menu creates to the menu is invisible to the
application.